package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.github.pagehelper.PageInfo;

public interface AdminService {
    Admin login(String name);
    Admin selectById(Integer id);
    PageInfo<Admin> selectAll(Integer page, Integer limit);
    void insert(String username,String password);
}
